package com.gjzhao.fmmall.vo;

import org.springframework.http.HttpStatus;

/**
 * @Description: 错误情况接口规范
 * @Author: gjzhao
 * @Date Created in 2022-01-20 2:43 下午
 */
public interface IErrorCode {

    /**
     * 返回码值
     *
     * @return
     */
    Integer getCode();

    /**
     * 返回http对象
     * @return
     */
    HttpStatus getStatus();

    /**
     * 返回响应
     *
     * @return
     */
    String getMessage();
}
